package com.etbsms.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import com.etbsms.dao.IResearchAndAnalysisDAO;
import com.etbsms.domain.ResearchAndAnalysis;
import com.etbsms.service.IResearchAndAnalysisService;

@Service
@Component("researchAndAnalysisService")
public class ResearchAndAnalysisServiceImpl implements IResearchAndAnalysisService{

	@Autowired
	private IResearchAndAnalysisDAO researchAndAnalysisDAO;
	
	
	@Override
	public boolean save(ResearchAndAnalysis entity) {
		// TODO Auto-generated method stub
		return researchAndAnalysisDAO.save(entity);
	}

	@Override
	public boolean update(ResearchAndAnalysis entity) {
		// TODO Auto-generated method stub
		return researchAndAnalysisDAO.update(entity);
	}

}
